package com.example.myandroidapp;

public class Person
{
    private String name;
    
    private int age;
    
    private String image;
    
   /* 
    * Constructor
    */

    public Person(String aName, int aAge, String aImage)
    {
        this.name = aName;
        this.age = aAge;
        this.image = aImage;
    }
    /**
     * @return the name
     */
    public String getName()
    {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name)
    {
       
        this.name = name;
    }

    /**
     * @return the age
     */
    public int getAge()
    {
        return age;
    }

    /**
     * @param age the age to set
     */
    public void setAge(int age)
    {
        this.age = age;
    }
    /**
     * @return the image
     */
    public String getImage()
    {
        return image;
    }
    /**
     * @param image the image to set
     */
    public void setImage(String image)
    {
        this.image = image;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "Person [name=" + name + ", age=" + age + ", image=" + image + "]";
    }


    
    

    

}